<div class="me-data-content">
  <div class="me-data-table" ng-init="me_data_tab = 1">
    <div ng-click="me_data_tab = 1" ng-class="{true:'me-data-bg', false:''}[me_data_tab == 1]">基本设置</div>
    <div ng-click="me_data_tab = 2" ng-class="{true:'me-data-bg', false:''}[me_data_tab == 2]">可视门店</div>
    <div ng-click="me_data_tab = 3" ng-class="{true:'me-data-bg', false:''}[me_data_tab == 3]">用户权限</div>
    <div ng-click="me_data_tab = 4" ng-class="{true:'me-data-bg', false:''}[me_data_tab == 4]">用户岗位</div>
  </div>
  <div class="me-data-block" ng-show="me_data_tab == 1">
    <div class="me-data-row-min">
      <span class="me-data-name">用户名</span>
      <input type="text" ng-model="user.name">
    </div>
    <div class="me-data-row-min">
      <span class="me-data-name">密码</span>
      <input type="password" ng-model="user.password">
    </div>
    <div class="me-data-row-bottom">
      <input type="submit" value="保存" ng-click="me_data_submit()">
    </div>
  </div>
  <div class="me-data-block" ng-show="me_data_tab == 2">
    <div class="me-data-row">
      <!-- <span class="me-data-list-name">可视门店</span> -->
      <div class="me-data-list">
          <div ng-repeat="shop in user._view_shops.split(',')">{{shop}}</div>
      </div>
    </div>
  </div>
  <div class="me-data-block" ng-show="me_data_tab == 3">
      <!-- {{user._roles}} -->
    <div class="me-data-row">
      <!-- <span class="me-data-list-name">用户权限</span> -->
      <div class="me-data-list">
        <div ng-repeat="rolename in user._roles">{{rolename.rolename}}</div>
      </div>
    </div>
  </div>
  <div class="me-data-block" ng-show="me_data_tab == 4">
    <div class="me-data-row">
      <!-- <span class="me-data-list-name">用户岗位</span> -->
      <div class="me-data-list">
        <!-- <div>测试岗位</div> -->
        <!-- <div>测试岗位</div> -->
      </div>
    </div>
  </div>
</div>